package com.bawei.a2010douyin.ui.login;

import com.bawei.a2010douyin.base.mvp.BaseView;
import com.bawei.a2010douyin.entity.BaseResponse;
import com.bawei.a2010douyin.entity.LoginEntity;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;

public interface LoginContract {
    interface ILoginModel{
        Observable<BaseResponse<LoginEntity>> login( RequestBody requestBody);
    }
    interface ILoginView extends BaseView{
        void showLogin(LoginEntity loginEntity);
    }

    interface ILoginPresenter{
        void login( RequestBody requestBody);
    }
}
